import java.util.Scanner;

public class ComputeAverage {
    public static void main(String[] args) {
        Scanner skeneris = new Scanner(System.in);
        
        System.out.print("Ievadi ciparus: ");
        double numurs1 = skeneris.nextDouble();
        double numurs2 = skeneris.nextDouble();
        double numurs3 = skeneris.nextDouble();
        
        double videjais = ((numurs1 + numurs2 + numurs3) / 3);
        
        System.out.println("Vidējais no ievadītajiem cipariem ir " + videjais);
    }
}